<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <!-- 理想视口 -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <link rel="stylesheet" href="https://unpkg.com/buijs/lib/latest/bui.css" />
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /><!-- 基础样式，包含  头部  搜索框  底部 -->
    <link rel="stylesheet" href="../css/base-category.css" />
    <link rel="stylesheet" href="../css/category.css" />
    <title>九组项目-慢慢buy</title>
</head>

<body>
    <!-- header 头部 -->
    <header>
        <h1>
            <a href="/mmm/index.html">
                <img src="../images/header_logo.png" alt="" />
            </a>
        </h1>
        <a href="javascript:;">
            <img src="../images/header_app.png" alt="" />
        </a>
    </header>
    <!-- header 头部 -->
    <!-- search 搜索框 -->
    <div id="mmm_search" data-role="main" class="ui-content">
        <form method="post" action="">
            <div class="ui-field-contain">
                <input class="search_inp" type="search" name="search" id="search" placeholder="请输入你想比价的商品">
            </div>
            <input class="search_submit" type="submit" data-inline="true" value="搜索 ">
        </form>
    </div>
    <!-- search 搜索框 -->

    <div id="mmm_wareComtents">
        <dl id="accordion_wareComtents" class="bui-accordion">
            <!-- <dt class="bui-btn bui-box" data-tittleId="{{@ $value.titleId }}">
                <div class="span1"><strong>电器</strong></div>
                <i class="icon-accordion"></i>
            </dt>
            <dd class="wareComtentsRefine">
                <a class="bui-box-center bui-left">电视机</a>
            </dd> -->
        </dl>

    </div>

    <!-- footer 底部 -->
    <footer>
        <div class="footer_nav">
            <a href="./login.html">登录</a>
            <a href="./register.html">注册</a>
            <a class="toTOP" href="javascript:;">返回顶部</a>
        </div>
        <div class="footer_app">
            <a href="javascript:;">手机app下载</a>
            <a href="javascript:;">慢慢买手机版</a>
            <span class="tips"> -- 掌上比价平台</span>
        </div>
        <div class="footer_com">
            m.manmanbuy.com
        </div>
    </footer>
</body>
</html>

<!-- 分类-大分类的渲染模板 -->
<script type="text/template" id="wareComtentsTmp">
    {{ each result }}
        <dt class="bui-btn bui-box"  data-tittleId="{{@ $value.titleId }}" >
            <div class="span1"><strong>{{@ $value.title }}</strong></div>
            <i class="icon-accordion"></i>
        </dt>
        <dd class="wareComtentsRefine">

        </dd>
    {{ /each }}
</script>

<!-- 小分类的渲染模板 -->
<script type="text/template" id="wareComtentsRefineTmp">
    {{ each result }}
        <a data-categoryId="{{@ $value.categoryId}}"
            data-category="{{@ $value.category}}"
            data-titleId="{{@ $value.titleId}}"
            class="bui-box-center bui-left">
            {{@ $value.category }}
        </a>
    {{ /each }}
</script>

<script src="https://unpkg.com/buijs/lib/zepto.js"></script>
<script src="../lib/zepto/src/selector.js"></script>
<script src="../lib/zepto/src/event.js"></script>
<script src="../lib/zepto/src/touch.js"></script>

<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/fastclick/1.0.6/fastclick.min.js"></script><!-- fastclick插件  -->
<script src="https://cdn.bootcss.com/iScroll/5.2.0/iscroll-infinite.js"></script><!-- iscroll插件  -->
<script src="https://unpkg.com/buijs/lib/latest/bui.js"></script>
<script src="../lib/art-template/template-web.js"></script><!-- art-template模板 -->

<script src="../js/category.js"></script><!-- 页面对应的js -->